
package com.insigma.business.qrcode.job.dao;





import com.insigma.business.qrcode.job.dto.search.JobCandidateResumeBSearcher;
import com.insigma.business.qrcode.job.dto.JobResumeDetailBO;
import com.insigma.business.qrcode.job.entity.JobCandidateResumeDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface JobCandidateResumeDao {

    
    List<JobCandidateResumeDO> search(final JobCandidateResumeBSearcher innerSearcher);

    
    JobCandidateResumeDO get(final String id);

    
    Integer insert(final JobCandidateResumeDO jobCandidateResumeDO);

    
    Integer update(final JobCandidateResumeDO jobCandidateResumeDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);


    
    List<JobResumeDetailBO> searchResumeOfCompanyAndPosition(JobCandidateResumeBSearcher searcher);

    
    JobCandidateResumeDO getByCandidateId(@Param("candidate_id") String candidateId);

    Integer count();

}
